package cn.hu.basic.query;

import lombok.Data;

@Data
public class BaseQuery {
    private Integer pageNum;
    private Integer pageSize;
    private String keyword;
    public Integer getPage(){
        return (this.pageNum-1)*this.pageSize;
    }
}
